package com.blog.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blog.domain.DTO.AddCategoryDto;
import com.blog.domain.DTO.CategoryListDto;
import com.blog.domain.ResponseResult;
import com.blog.domain.entity.Category;
import com.blog.domain.vo.CategoryVo;

import java.util.List;

/**
 * 分类表(Category)表服务接口
 *
 * @author makejava
 * @since 2024-08-25 10:39:27
 */
public interface CategoryService extends IService<Category> {
    ResponseResult getCategoryList();

	ResponseResult<CategoryVo> selectAllCategory();

	ResponseResult categoryList(Integer pageNum, Integer pageSize, CategoryListDto categoryListDto);

	ResponseResult addCategory(AddCategoryDto addCategoryDto);

	ResponseResult getCategoryById(Long id);

	ResponseResult updateCategory(CategoryVo categoryVo);

	ResponseResult deletecategory(List<Long> ids);
}
